
//API常量
export enum hmiBaseUrlAPI {
  HMI_COMPONENT_TYPE_API_ADD = 'api/hmi/component_type/add',
  HMI_COMPONENT_TYPE_API_UPDATE = 'api/hmi/component_type/update',
  HMI_COMPONENT_TYPE_API_DELETE = 'api/hmi/component_type/delete',
  HMI_COMPONENT_TYPE_API_PAGE = 'api/hmi/component_type/page',
  HMI_COMPONENT_API_ADD = 'api/hmi/component/add',
  HMI_COMPONENT_API_UPDATE = 'api/hmi/component/update',
  HMI_COMPONENT_API_DELETE = 'api/hmi/component/delete',
  HMI_COMPONENT_API_PAGE = 'api/hmi/component/page',
  HMI_COMPONENT_PROPS_API_ADD = 'api/hmi/component_props/add',
  HMI_COMPONENT_PROPS_API_UPDATE = 'api/hmi/component_props/update',
  HMI_COMPONENT_PROPS_API_DELETE = 'api/hmi/component_props/delete',
  HMI_COMPONENT_PROPS_API_PAGE = 'api/hmi/component_props/page',

  HMI_DEVICE_TYPE_API_ADD = 'api/hmi/device_type/add',
  HMI_DEVICE_TYPE_API_UPDATE = 'api/hmi/device_type/update',
  HMI_DEVICE_TYPE_API_DELETE = 'api/hmi/device_type/delete',
  HMI_DEVICE_TYPE_API_PAGE = 'api/hmi/device_type/page',

  HMI_DICTIONARY_TYPE_API_ADD = 'api/hmi/dictionary_type/add',
  HMI_DICTIONARY_TYPE_API_UPDATE = 'api/hmi/dictionary_type/update',
  HMI_DICTIONARY_TYPE_API_DELETE = 'api/hmi/dictionary_type/delete',
  HMI_DICTIONARY_TYPE_API_PAGE = 'api/hmi/dictionary_type/page',
  HMI_DICTIONARY_API_ADD = 'api/hmi/dictionary/add',
  HMI_DICTIONARY_API_UPDATE = 'api/hmi/dictionary/update',
  HMI_DICTIONARY_API_DELETE = 'api/hmi/dictionary/delete',
  HMI_DICTIONARY_API_PAGE = 'api/hmi/dictionary/page',
}

//目录列表标识
export enum hmiCatalogType {
  PROP_DATA_TYPE_CODE = 1,
  PROP_FORM_TYPE_CODE,
  VAR_TYPE_CODE,
  ENCRYPTION_TYPE_CODE,
  PROTOCOL_TYPE_CODE,
  UINT_TYPE_CODE,
  FORMULA_TPE_CODE,
  OPERATION_TYPE_CODE,
  LINE_TYPE_CODE,

  OPTION_TYPE_CODE,
  COMPONENT_FILED_TYPE_CODE,

  COMPONENT_TYPE_CODE,
  COMPONENT_CODE,
  DEVICE_TYPE_CODE,
  DICT_TYPE_CODE
}


//目录列表API
export enum hmiCatalogUrlAPI {
  PROP_DATA_TYPE_API = 'api/hmi/catalog/dict_prop_data_type',
  PROP_FORM_TYPE_API = 'api/hmi/catalog/dict_prop_form_type',
  VAR_TYPE_API = 'api/hmi/catalog/dict_var_type',
  ENCRYPTION_TYPE_API = 'api/hmi/catalog/dict_encryption_type',
  PROTOCOL_TYPE_API = 'api/hmi/catalog/dict_protocol_type',
  UINT_TYPE_API = 'api/hmi/catalog/dict_unit_type',
  FORMULA_TYPE_API = 'api/hmi/catalog/dict_formula_type',
  //OPERATION_TYPE_API = 'api/hmi/catalog/dict_operation_type',
  LINE_TYPE_API = 'api/uiv/catalog/dict_line_type',

  OPTION_TYPE_API = 'api/hmi/catalog/dict_option_type',
  COMPONENT_FILED_TYPE_API = 'api/hmi/catalog/component_field_type',
  COMPONENT_TYPE_API = 'api/hmi/catalog/component_type_list',
  COMPONENT_API = 'api/hmi/catalog/component_list',
  DEVICE_TYPE_API = 'api/hmi/catalog/device_type_list',
  DICT_TYPE_API = 'api/hmi/catalog/dict_type_list',
  COMPONENT_SEARCH_API = 'api/hmi/catalog/component_search_list',
}

//Model数据 API
export enum hmiBaseVOAPI {
  HMI_DICT_VO_TREE = 'api/hmi/basic_vo/dict_vo_tree',
  HMI_COM_TYPE_VO_TREE = 'api/hmi/basic_vo/com_type_vo_tree',
}
